package cn.kkcxy.blog.core.dto.admin;

import cn.kkcxy.blog.core.dto.PageParams;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.core.dto.admin
 * @Author: kkcxy
 * @CreateTime: 2024-11-17 02:03
 * @Description: 得到用户列表的请求参数
 * @Version: 1.0
 */
@Data
@ToString
@Schema(description = "得到用户列表的请求参数DTO")
public class ManageGetUserListDTO implements Serializable {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "角色")
    private String role;

    @Schema(description = "创建时间范围")
    private String[] createdTimeBetween;

    @Schema(description = "分页参数")
    private PageParams pageParams;
}
